import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "./style.scss"
import "./assets/iconfont/iconfont.css"
import axios from "axios"

Vue.prototype.$http = axios
Vue.prototype.$http.defaults.baseURL =  process.env.VUE_APP_API_URL || 'http://localhost:3000/'


// const http = axios.create({
//   baseURL: "http://localhost:3000/admin/api" 
// })






Vue.config.productionTip = false

import Card from "./components/Card"
Vue.component("m-card",Card)
import ListCard from "./components/ListCard"
Vue.component("m-list-card",ListCard)




new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')